package cn.snailteam.recruitment.entity;

/**
 * TrainInfoList entity. @author MyEclipse Persistence Tools
 */

public class TrainInfoList implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo userInfo;
	private String organName;
	private String startTime;
	private String endTime;
	private String speciality;
	private String descInfo;

	// Constructors

	/** default constructor */
	public TrainInfoList() {
	}

	/** minimal constructor */
	public TrainInfoList(String organName, String startTime, String endTime,
			String speciality) {
		this.organName = organName;
		this.startTime = startTime;
		this.endTime = endTime;
		this.speciality = speciality;
	}

	/** full constructor */
	public TrainInfoList(UserInfo userInfo, String organName, String startTime,
			String endTime, String speciality, String descInfo) {
		this.userInfo = userInfo;
		this.organName = organName;
		this.startTime = startTime;
		this.endTime = endTime;
		this.speciality = speciality;
		this.descInfo = descInfo;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getOrganName() {
		return this.organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return this.endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getSpeciality() {
		return this.speciality;
	}

	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	public String getDescInfo() {
		return this.descInfo;
	}

	public void setDescInfo(String descInfo) {
		this.descInfo = descInfo;
	}

}